package com.cn.yunhe.rentcars.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.cn.yunhe.rentcars.model.ClientUser;
import com.cn.yunhe.rentcars.model.Credit;
@Mapper
public interface CreditMapper {
	/**
	 * 按添加查询客户信用记录
	 * @param params 模糊查询条件
	 * @return
	 */
		List<Credit> searchCredits(Map<String,String> params);
		
		/**
		 * 添加用户信用记录
		 * @param credit
		 */
		void addCredit(Credit credit);
}
